using System;
using System.Collections.Generic;
using System.Text;

namespace RapidHDL.PipeLine
{

    public class Buffer : Component
    {

        public NodeVector InputNodes;

        public NodeVector OutputNodes;
        ClockComponent oClock;

        StageRegister oOutputStageRegister;
        
        public Buffer(Component poParentComponent, string psName, ClockComponent poClock, int piWidth, int piDepth)
            : base(poParentComponent, psName)
        {
            InputNodes = this.CreateNodeVector("DATA_I", piWidth);
            OutputNodes = this.CreateNodeVector("DATA_O", piWidth);
            oClock = poClock;
        }

        public override void GenerateStructure()
        {
        }
    }
}
